package com.study.controller;

import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/product")
public class ProductTestController {


    @RequestMapping("/info")
    @ResponseBody
    public String productInfo() {
        return " some product info ";
    }


}

